package com.bytedance.article.common.a.b;

import android.support.annotation.NonNull;

import com.bytedance.frameworks.core.thread.e;

import java.util.Iterator;
import java.util.List;

import inline.ScreenshotListener;

public final class b extends e {
    private final com.bytedance.article.common.a.b.a.a$a b;
    private final a c;
    private final String a;

    public b(a arg1, String arg2, com.bytedance.article.common.a.b.a.a$a arg3) {
        this.c = arg1;
        this.a = arg2;
        this.b = arg3;
    }

    public final void run() {
        a v2;
        Object v0_3;
        try {
            ScreenshotListener v0_1 = com.bytedance.article.common.a.b.c.a(this.a);
            if (v0_1 == null) {
                this.b.b = false;
                return;
            }

            List v0_2 = v0_1.b();
            if (v0_2 == null) {
                this.b.b = false;
                return;
            }

            if (v0_2.isEmpty()) {
                this.b.b = false;
                return;
            }

            Iterator v1 = v0_2.iterator();
            while (true) {
                label_8:
                if (!v1.hasNext()) {
                    this.b.b = false;
                    return;
                }

                v0_3 = v1.next();
                v2 = this.c;
                com.bytedance.article.common.a.b.a.a(v2, ((String) v0_3));
                continue;
            }
        } catch (Throwable v0) {
            v0.printStackTrace();
        }
    }

    @Override
    public void f(@NonNull Object o) {

    }
}

